package com.fysports.web.config.route;

import com.jfinal.config.Routes;
import com.fysports.web.controller.user.UserAddressController;
import com.fysports.web.controller.user.UserFavoriteController;
import com.fysports.web.controller.user.UserInfoController;
import com.fysports.web.controller.user.UserRankController;


/**
 * Class title: 业务逻辑controller注册 <br/>
 * Describe:                    <br/>
 * Created by konbluesky           <br/>
 * Date : 15/12/25 下午6:01       <br/>
 * Project : weixin    <br/>
 */
public class BizModuleRoute extends Routes {
    @Override public void config() {
        /*用户模块*/
        add("/user", UserInfoController.class);                     //用户基础信息
        add("/user/address", UserAddressController.class);          //用户地址管理
        add("/user/rank", UserRankController.class);                //用户等级管理
        add("/user/favorite", UserFavoriteController.class);        //用户收藏管理
    }
}
